<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>01认识盒子模型</title>
    <style>
        .box {
            width: 300px;
            height: 300px;
            background-color: pink;
            /* 内边距 */
            padding: 10px;
            /* 边框 */
            border: 1px solid purple;
            /* 边框圆角 */
            border-radius: 5px;
            /* 外边距 */
            margin: 10px;
        }
    </style>
</head>

<body>
    <div class="box"></div>
</body>

</html>